#include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
using namespace std;
int main()
{
	string a;
	cin >> a;
	int ans = 0;
	for (int i = 0; i < a.size(); i++) {
		if (i + 1 < a.size() && i + 2 < a.size()) {
			if (a[i] == '5' && a[i + 1] == '2' && a[i + 2] == '0') {
				ans++;
			}
		}
	}
	if (ans) {
		cout << ans << endl;
	}
	else {
		cout << "O kawaii koto!" << endl;
	}
	return 0;
}